<?php

namespace app\api\controller;
use Throwable;
use think\facade\Db;
use think\facade\Config;
use app\common\controller\Api;
use app\common\library\Mqtt;
class Hard extends Api
{
	function test(){
          $r = Mqtt::send("867896079638535",json_encode(['head'=>'state','biz_no'=>'123']));
          return json(['code'=>200,'msg'=>'ok','data'=>$r]);
    } 
}